package com.ruoyi.gd.dbjlb.domain.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 待报价列业务对象 z_dbjlb
 *
 * @author ruoyi
 * @date 2024-07-02
 */

@Data
public class ZDbjlbBo {

    /**
     * id
     */
    private String id;

    /**
     * 客户id
     */
    private String khid;

    /**
     * 客户名字
     */
    @NotBlank(message = "客户名字不能为空", groups = { AddGroup.class, EditGroup.class })
    private String khname;

    /**
     * 客户地址
     */
    @NotBlank(message = "客户地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String khdz;

    /**
     * 报价附件
     */
    @NotBlank(message = "报价附件不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bjfj;

    /**
     * 生成报价单
     */
    private String scfj;

    /**
     * 备注
     */
    private String bz;

    /**
     * 状态
     */
    private String status;

    /**
     * 报价类型
     */
    private String bjlx;

    /**
     * 导入类型
     */
    private String drlx;

    /**
     * 报价日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date bjrq;

    /**
     * 下场费用
     */
    private Double xcfy;

    /**
     * 合计金额
     */
    private Double hjje;

}
